package com.cheer.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("活动（新增/修改）")
public class ActivityInfoVO {

    private Integer id;

    @ApiModelProperty("活动形式 1 活动打卡 2 活动展示")
    private Integer type;

    @ApiModelProperty("机构限制")
    private Boolean orgLimit;

    @ApiModelProperty("机构ID")
    private Integer pid;

    @ApiModelProperty("机构回显路径")
    private List<Integer> path;

    @ApiModelProperty("活动标题")
    private String title;

    @ApiModelProperty("活动内容")
    private String content;

    @ApiModelProperty("活动时间 开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("活动时间 结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("打卡时间 开始日期")
    private String checkinStartTime;

    @ApiModelProperty("打卡时间 结束日期")
    private String checkinEndTime;

    @ApiModelProperty("坐标经度")
    private String locationLatitude;

    @ApiModelProperty("坐标纬度")
    private String locationLongitude;

    @ApiModelProperty("有效范围")
    private Integer locationRange;

    @ApiModelProperty("活动地点")
    private String address;

    @ApiModelProperty("注意事项")
    private String notes;

    @ApiModelProperty("展示文字")
    private String achieveText;

    @ApiModelProperty("缩略图")
    private List<ImgVO> thumbnail;

    @ApiModelProperty("详情图片")
    private List<ImgVO> images;

    @ApiModelProperty("展示图片")
    private List<ImgVO> achieveImage;

}
